[TEST] Wait for internal inference indices to be created in authorization IT#143885
Conversation
Unmutes AuthorizationTaskExecutorIT tests after the fix elastic#143866. Even though that fix does not target elastic#138012 directly, there could be an underlying connection. Thus, I am also unmuting that test too. For the very least, it would be useful to see if the failure remains the same.
|
Pinging @elastic/search-inference-team (Team:Search - Inference) |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughThis pull request mutes four failing tests in Possibly related PRs
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@DonalEvans I've revamped this PR. Could you please take another look? |
…elocations * upstream/main: (49 commits) CCS logging fixes (elastic#144070) Improve CPS cluster exclusion handling (elastic#143488) Remove snapshot condition now that node_reduce phase is in non-snapshot builds (elastic#144090) Drop deprecation warnings when updating a mapping in the cluster state applier (elastic#143884) (elastic#144040) Add ensureGreenAndNoInitializingShards helper (elastic#144044) Removed unnecessary applies_to blocks from deprecated query (elastic#144096) [CPS] Use single CrossProjectModeDecider instance (elastic#144030) Fix ESQL TS requests with LIMIT 0 (elastic#144031) ESQL: Remove `create` methods in aggs (elastic#144098) ES|QL: Refactor ChangeLimitOperator (elastic#144017) Add Paginated Hit Source Tests (elastic#142592) Fix test failure not preferred (elastic#144019) Remove serialization logic from EIS authorization response (elastic#144021) ESQL: CSV schema inference and parsing enhancements (elastic#144050) ESQL: Fix incorrectly optimized fork with nullify unmapped_fields (elastic#143030) Fix MMR release test using subqueries (elastic#144087) Refactoring `UserAgentPlugin` (elastic#140712) Drop non-finite samples in Prometheus remote write (elastic#144055) [TEST] Wait for internal inference indices to be created in authorization IT (elastic#143885) Disable ndjson datasource QA tests in release-tests (elastic#143992) ...
…tion IT (elastic#143885) After elastic#143866, this is a better attempt at fixing those tests. ensureGreen calls the cluster _health API. With providing the index pattern, this returns green when no matching index exists. We actually want to ensure the inference indices are created. Calling the GET _inference API does that. Closes elastic#140849
After #143866, this is a better attempt at fixing those tests.
ensureGreencalls the cluster _health API. With providing the index pattern, this returnsgreenwhen no matching index exists.
We actually want to ensure the inference indices are created. Calling the GET _inference API does that.
Closes #140849